import { RouteRecordRaw } from 'vue-router'
import LayoutNavbar from '@/layout/Navbar.vue'

const router: Array<RouteRecordRaw> = [
  {
    path: '/',
    component: LayoutNavbar,
    children: [
      {
        path: 'entry',
        name: 'Entry',
        component: () =>
          import(
            /* webpackChunkName: "home" */ '@/views/entry/Index.vue'
          ),
      },
      {
        path: 'main/update',
        name: 'MainUpdate',
        component: () =>
          import(
            /* webpackChunkName: "home" */ '@/views/main/Update.vue'
          ),
      },
    ]
  },
]
export default router
